//
//  HZJSongDetailModel.m
//  HZ_Beautiful_Music
//
//  Created by dllo on 16/4/5.
//  Copyright © 2016年 ui. All rights reserved.
//

#import "HZJSongDetailModel.h"
#import "HZJAuditionListModel.h"

@implementation HZJSongDetailModel

- (instancetype)initWithDataSource:(NSDictionary *)dataSource {
    
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dataSource];
        NSMutableArray *arr = [NSMutableArray arrayWithCapacity:0];
        for (NSDictionary *dic in self.auditionList) {
            HZJAuditionListModel *urlModel = [[HZJAuditionListModel alloc] initWithDataSource:dic];

            [arr addObject:urlModel];
        }
        self.auditionList = [NSArray arrayWithArray:arr];
    }
    return self;
}

-(void)setSongId:(NSString *)songId {
    
    if ([[songId class] isSubclassOfClass:[NSNumber class]]) {
        _songId = ((NSNumber *)songId).stringValue;
    }
    
}

@end
